<template>
  <div>
    <Header 
			:left="currAddress.address" 
			@leftClick="$router.push({ name: 'address' })"
		>
      首页
    </Header>
		<pre>{{ currAddress }}</pre>
  </div>
</template>


<script>
import Header from "@/components/header";
export default {
  components: {
    Header,
  },
	computed: {
		currAddress() {
			return this.$store.getters.currAddress || { address: '选择' }
		}
	}
};
</script>
